insertMask

abstract fun insertMask(block: DesignBlock, maskBlock: DesignBlock, index: Int)

Inserts a mask at the given index into the masks of the block. A mask can be used by more than one block. Required scope: "layer/clipping"

Parameters

block

the block to mask.

maskBlock

the mask to insert.

index

the index in the range 0, number of masks. The masks combine in the order of their indices.